package com.xiaoxin.demo;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;

import java.util.List;

public class Main2Activity extends AppCompatActivity {
    List<As> datas;
    public static final String TAG = "Main2Activity";
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main2);
        if (DataMa.isM) {
            datas=DataMa.datas;
            DataMa.endTime=System.currentTimeMillis();
            Log.w(TAG, "onCreate: aaa "+(DataMa.endTime-DataMa.startTime));
        }else {
            datas=getIntent().getParcelableArrayListExtra("list");
            DataMa.endTime=System.currentTimeMillis();
            Log.w(TAG, "onCreate: bbb "+(DataMa.endTime-DataMa.startTime));
        }
    }

}
